<#import "/ftl/mainAdmin.ftl" as page>

<@page.mainTemplate styleSheet="commanageCss" jsFile="goodsRebateManageJs" current="返利商品管理">
	<div class="page-content">
		<div class="page-head">
			<div class="page-title">
				<h1>商品管理
					<small>商品编辑</small>
				</h1>
			</div>
		</div>
		<div class="row">
			<div class="portlet light borderd">
				<div class="portlet-body form edit-form">
					<form action="#" id="createForm" class="createForm createform">
					    <input type="hidden" value="${goods.id}" name="id">
						<input type="hidden" value="${goods.state}" name="state">

						<div class="row">
							<div class="col-md-6">
								<div class="form-group">
									<div class="input-group">
										<label class="input-group-addon">产品编号</label>
										<div class="input-group-content">
											<input type="text" id="sku_id" name="sku_id" class="form-control" placeholder="产品名称" value="${goods.sku_id}" readonly="readonly"/>
										</div>
									</div>
								</div>
							</div>
							<div class="col-md-6">
								<div class="form-group">
									<div class="input-group">
										<label class="input-group-addon">服务名称</label>
										<div class="input-group-content">
											<input type="text" id="name" name="name" class="form-control" placeholder=""  value="${goods.name}">
										</div>
									</div>
								</div>
							</div>
						</div>
						<div class="row">
							<div class="col-md-6">
								<div class="form-group">
									<div class="input-group">
										<label class="input-group-addon">产品状态</label>
										<div class="input-group-content">
											<input type="text" id="state_str" name="state_str" class="form-control" placeholder="" readonly="readonly" value="${goods.state_str}">
										</div>
									</div>
								</div>
							</div>
							<div class="col-md-6">
								<div class="form-group">
									<div class="input-group">
										<label class="input-group-addon">商品说明</label>
										<div class="input-group-content">
											<input type="text" id="introduction" name="introduction" class="form-control" placeholder="商品说明"   value="${goods.introduction}" style="">
										</div>
									</div>
								</div>
							</div>
						</div>
                		<div class="form-actions top">
                			<div class="row">
                				<button type="submit" id="GoodsSave" class="btn green GoodsSave">保存</button>
                				<button type="submit" id="GoodsSaveRe" class="btn green GoodsSave">保存并发布</button>
                				<a href="${context}/goods_rebate/goodManageList" class="btn default">取消</a>
                			</div>
                		</div>
					</form>
				</div>
			</div>
		</div>
	</div>

</@page.mainTemplate>